package demo.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
public class POSItem {
	private int id;
	private int transactionId;
	private String name;
	private float quantity;
	private float amount;
	private float unitFee;
	private LocalDateTime datestamp;

	public POSItem(int transactionId, String name, float quantity, float amount, float unitFee) {
		this.transactionId = transactionId;
		this.name = name;
		this.quantity = quantity;
		this.amount = amount;
		this.unitFee = unitFee;
	}
}
